package com.lw.sbdemo2.entity;

import com.lw.sbdemo2.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;

/**
 * <p>标题: 用户试卷记录表实体</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2019</p>
 * <p>公司: 山人行工作室</p>
 *
 * @version: 1.0
 * @author: LinWang
 * @date 2019-4-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Alias("TkUserExamRecord")
@ApiModel(description = "用户试卷记录表实体")
public class TkUserExamRecord extends BaseEntity {

	@ApiModelProperty(value = "用户ID")
    private java.lang.String userId;
	@ApiModelProperty(value = "试卷ID")
    private java.lang.String examId;
	@ApiModelProperty(value = "试卷名称")
    private java.lang.String examName;
	@ApiModelProperty(value = "购买时间")
    private java.util.Date buyTime;

    @ApiModelProperty(value = "试卷价格")
    private BigDecimal examPrice;
    @ApiModelProperty(value = "试卷封面")
    private java.lang.String examCover;
    @ApiModelProperty(value = "试卷描述")
    private java.lang.String examDesc;
    @ApiModelProperty(value = "温馨提示")
    private java.lang.String warnPrompt;
    @ApiModelProperty(value = "试卷类型")
    private java.lang.String examType;
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createdTime;
    @ApiModelProperty(value = "修改时间")
    private java.util.Date modifiedTime;
    @ApiModelProperty(value = "有效标志")
    private java.lang.String validFlag;
    @ApiModelProperty(value = "所属单元")
    private java.lang.String subUnit;
    @ApiModelProperty(value = "难度级别")
    private java.lang.String difficultyLevel;
    @ApiModelProperty(value = "上架状态")
    private java.lang.String onState;
    @ApiModelProperty(value = "考试时间")
    private java.util.Date examTime;
    @ApiModelProperty(value = "合格分数")
    private Long passingScore;
    @ApiModelProperty(value = "总分")
    private Long totalScore;
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;

    @ApiModelProperty(value = "答题成绩")
    private Long score;
    @ApiModelProperty(value = "用户名称")
    private java.lang.String userName;
    @ApiModelProperty(value = "学期ID")
    private String termId;
    @ApiModelProperty(value = "学期名称")
    private String termName;
    @ApiModelProperty(value = "学期价格")
    private Long termPrice;
    @ApiModelProperty(value = "学期封面")
    private String termCover;
    @ApiModelProperty(value = "学期描述")
    private String termDesc;
}
